const style = `<style>

/* 打印预览 */
@media print {
  /* 未选中背景图形时 radio 标签选中的无样式 */
  body {
    padding: 3mm;
    background: white;
    /* 确保背景色被正确打印 */
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  @page {
    size: auto; /* 设置打印纸张尺寸为自动 */
    margin: 0; /* 设置页边距为0, 隐藏页眉和页脚 */
  }

  .hidden-in-print {
    display: none !important;
  }

  input,
  textarea {
    color: #333 !important;
    background-color: transparent !important;
  }

  input::placeholder,
  textarea::placeholder {
    color: transparent !important;
  }

  .el-radio__input.is-disabled + span.el-radio__label,
  .el-checkbox__input.is-disabled + span.el-checkbox__label {
    color: #333 !important;
  }

  .el-radio__input.is-disabled.is-checked .el-radio__inner::after {
    background-color: #333 !important;
  }

  .el-radio__input.is-disabled.is-checked .el-radio__inner,
  .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner,
  .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after {
    border-color: #333 !important;
  }
}

.el-upload-list__item-name [class^=el-icon] {
  height: auto;
}

.el-radio-group,
.select-horizontal,
.el-cascader-node>.el-radio,
.el-radio:last-child {
  line-height: inherit !important;
}

.el-radio__label {
  vertical-align: middle;
}

</style>`;

export default style;
